package com.chalk.service;


import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.chalk.common.util.Result;
import com.chalk.exception.ColumnNotEmptyException;
import com.chalk.model.Sign;

import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author glq
 * @since 2020-12-17
 */

public interface SignService extends IService<Sign> {
    /**
     * 新增
     */
    public int addSign(Sign entity);

    /**
     * 修改
     */
    public int updateSign(Sign entity);

    /**
     * 删除
     */
    public int deleteSign(Integer id);


    /**
     * 签到分页
     * @param map
     * @return
     */
    public Page<Sign> getSignForPage(Map<String,Object> map) throws ColumnNotEmptyException;

}
